❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30015ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000a9'),
    maxSetVersion: 18,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.78:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.78:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.78:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.78:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:511:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:511:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.71:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.71:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.71:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.71:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-01.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.71:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.71:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.71:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.71:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30017ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30017ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30017ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30017ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30005ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30016ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ab'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30018ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30018ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30018ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30018ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30019ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30014ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30008ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30012ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30007ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30013ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30003ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30002ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30004ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30021ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30020ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:540:9)
    at process.processTimers (node:internal/timers:514:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30006ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:632:28)
      at TLSSocket.emit (node:events:518:28)
      at Socket._onTimeout (node:net:589:8)
      at listOnTimeout (node:internal/timers:573:17)
      at process.processTimers (node:internal/timers:514:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ad'),
    maxSetVersion: 21,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:633:26)
      at TLSSocket.emit (node:events:518:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:118:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
[2026-04-11T14:11:09.453Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sat Apr 11 2026 14:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T00:16:02.764Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 00:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:21:33.017Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:21:35.066Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:21:55.531Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:21:58.604Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:00.652Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:00.655Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:00.657Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:00.659Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:03.725Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:04.560Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:04.564Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:04.567Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T01:22:04.590Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 01:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T03:39:11.052Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T03:43:54.837Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T03:50:12.775Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:08.050Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:10.513Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:10.809Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:10.813Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:10.831Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.009Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.013Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.017Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.024Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.107Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.110Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.116Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.203Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.207Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.209Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.213Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.219Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.227Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.319Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.326Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.404Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.408Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.412Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.423Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.426Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.506Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.512Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.517Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.522Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.608Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.623Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.712Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.719Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.817Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.914Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:11.924Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.005Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.040Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.043Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.107Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.111Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.125Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.128Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.206Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.216Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.232Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.307Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.418Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.422Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.515Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.523Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.612Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.708Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.712Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.806Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.809Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.919Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:12.927Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.207Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.211Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.309Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.312Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.421Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.430Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.506Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.513Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.517Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.520Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.615Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.619Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.623Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.706Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.713Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.717Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.720Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.739Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.805Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.807Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.810Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.812Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.814Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.817Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.902Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.907Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.911Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.914Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.917Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:13.920Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.004Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.008Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.011Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.014Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.017Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.020Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.105Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.108Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.110Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.114Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.117Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.119Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.204Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.208Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.212Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.313Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.521Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.524Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.527Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.606Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.609Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.633Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.712Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.746Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.749Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.816Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.839Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.847Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.914Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.917Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.920Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.924Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.927Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.930Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.935Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.939Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.943Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:14.944Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.003Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.008Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.011Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.011Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.015Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.019Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.022Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.023Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.027Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.030Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.033Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.036Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.051Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.109Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.112Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.116Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.119Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.122Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.124Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.126Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.129Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.134Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.137Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.139Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.141Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.143Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.212Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.217Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.221Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 03:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.221Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.226Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.226Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.239Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.239Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.243Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.243Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.247Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.252Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.305Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.308Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.321Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.323Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.325Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.327Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.329Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.331Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.334Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.338Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.341Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.344Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.359Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.409Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.411Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.413Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.415Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.418Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.422Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.426Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.429Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.431Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.434Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.435Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.503Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.511Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.521Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.543Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.533Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.611Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.615Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.618Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.623Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.627Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.632Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.635Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.638Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.642Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.644Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.648Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.652Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.653Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.655Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.710Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.711Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.714Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.717Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.718Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.720Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.722Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.724Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.726Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.727Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.729Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.732Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.805Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.808Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.809Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.812Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.813Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.815Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.818Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.821Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.824Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.828Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.832Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.906Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.910Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.913Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.933Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.936Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:15.939Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.005Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.008Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.012Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.017Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.020Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.023Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.026Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.029Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.031Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.034Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.037Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.040Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.044Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.047Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.050Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.053Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.109Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.112Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.116Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.136Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.156Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.160Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.163Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.171Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.207Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 04:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.215Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.219Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.231Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.235Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.246Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.250Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.253Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.257Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.260Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.306Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.309Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.312Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.315Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.318Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.321Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.324Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.327Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.330Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.333Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.337Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.340Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.343Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.346Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.350Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.405Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.409Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.413Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.416Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.420Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.423Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.426Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.430Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.433Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.436Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.440Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.443Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.446Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.456Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.460Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.507Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.510Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.514Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.518Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.521Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.525Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.528Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.542Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.545Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.548Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.551Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.604Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.606Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.613Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.616Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.619Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.622Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.624Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.627Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.630Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.633Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 05:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.637Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.645Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.648Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.650Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.653Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.655Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.704Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.707Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.713Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.716Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.721Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.724Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.726Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.733Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.736Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.742Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.746Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.749Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.804Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.809Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.813Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.817Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.821Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.825Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.828Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.830Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.833Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.836Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.839Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.843Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.916Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.919Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.923Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.926Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.929Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.931Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.937Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.939Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.942Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:39:16.944Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:42:02.453Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:42:02.945Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:44:03.539Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:44:05.073Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:48:06.220Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:48:11.337Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:50:00.401Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:50:03.474Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:50:04.876Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:52:11.465Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:52:11.469Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:54:09.225Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:54:09.225Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:54:09.228Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:54:14.349Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:56:04.940Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:57:04.841Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:58:01.687Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T06:58:06.290Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 06:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:00:02.516Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:00:04.052Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:02:07.437Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:02:10.507Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:04:04.692Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:04:06.222Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:07:18.217Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:08:09.162Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:09:11.881Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:10:01.561Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:10:03.104Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:10:08.205Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:12:01.624Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:12:04.437Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:14:02.706Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:14:03.218Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:15:02.603Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:15:05.674Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:17:10.090Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:18:06.930Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:18:11.529Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:19:28.841Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:20:04.702Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:20:14.409Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:22:02.445Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:22:07.064Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:22:08.588Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:24:03.793Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:24:40.137Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:25:02.157Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:25:02.989Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:25:02.992Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T07:25:55.338Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 07:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:21.034Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.203Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.206Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.208Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.210Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.213Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.215Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.217Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.219Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.303Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.306Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.310Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.312Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.314Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.316Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.404Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.406Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.408Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:22.410Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.147Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.243Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.245Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.247Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.260Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.262Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.264Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.265Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.267Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.269Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.271Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.273Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.273Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.275Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.275Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.276Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.278Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:22:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.302Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:23:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.303Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.306Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.308Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.310Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.313Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.315Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.317Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.319Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.321Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.323Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.325Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.327Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.329Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.331Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.333Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.337Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.339Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.402Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:24:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.404Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:25:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.405Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.407Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:26:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.408Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.409Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:27:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.410Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.411Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:28:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.412Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.413Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:29:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.414Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.415Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:30:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.416Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.417Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:31:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.418Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.419Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:32:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.420Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.422Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:33:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.422Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.424Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.426Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.428Z] [PID: 915056] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.876Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:34:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.878Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:35:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.880Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:36:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.883Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:37:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.886Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:38:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.889Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:39:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.892Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:40:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.895Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:41:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.897Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:42:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.909Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:43:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.911Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:44:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.914Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:45:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:23.916Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:46:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.019Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:47:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.021Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:48:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.023Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:49:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.026Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:50:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.028Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:51:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.030Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:52:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.032Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:53:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.034Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:54:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.036Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:55:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.038Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:56:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.040Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:57:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.042Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:58:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.044Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 11:59:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.047Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:00:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.049Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:01:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.051Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:02:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.053Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:03:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.055Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:04:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.163Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:05:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.165Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:06:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.171Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:07:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.173Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:08:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.175Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:09:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.177Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:10:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.179Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:11:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.181Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:12:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.183Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:13:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.184Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:14:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.186Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:15:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.188Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:16:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.190Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:17:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.192Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:18:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.194Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:19:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.196Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:20:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
[2026-04-12T12:21:24.198Z] [PID: 1716484] [32m[NODE-CRON][32m [33m[WARN][0m missed execution at Sun Apr 12 2026 12:21:00 GMT+0000 (Greenwich Mean Time)! Possible blocking IO or high CPU user at the same process used by node-cron.
❌ Email service connection error: Invalid login: 535 Incorrect authentication data
❌ Socket authentication error: jwt expired
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Socket authentication error: connect ECONNREFUSED 65.62.2.78:27017
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000b9'),
    maxSetVersion: 32,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
Error fetching all chats: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Socket authentication error: connect ECONNREFUSED 65.62.2.71:27017
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000ba'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.78:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.78:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.78:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.78:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connection <monitor> to 65.62.2.64:27017 timed out
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: connection <monitor> to 65.62.2.64:27017 timed out
      at Timeout._onTimeout (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connection.js:126:26)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bb'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at process.processTimers (node:internal/timers:516:9)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Socket authentication error: connect ECONNREFUSED 65.62.2.71:27017
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Socket authentication error: connect ECONNREFUSED 65.62.2.71:27017
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30001ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30009ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 29999ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30010ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at runNextTicks (node:internal/process/task_queues:60:5)
    at listOnTimeout (node:internal/timers:545:9)
    at process.processTimers (node:internal/timers:519:7)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30011ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkTimeoutError: Socket 'secureConnect' timed out after 30000ms (connectTimeoutMS: 30000)
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:288:20)
      at Object.onceWrapper (node:events:638:28)
      at TLSSocket.emit (node:events:524:28)
      at Socket._onTimeout (node:net:595:8)
      at listOnTimeout (node:internal/timers:581:17)
      at process.processTimers (node:internal/timers:519:7) {
    errorLabelSet: Set(2) { 'ResetPool', 'InterruptInUseConnections' },
    beforeHandshake: false,
    [cause]: undefined
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 34,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bc'),
    maxSetVersion: 35,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bd'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000be'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-02.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: getaddrinfo ENOTFOUND ac-xay1hm2-shard-00-00.smxszxe.mongodb.net
        at GetAddrInfoReqWrap.onlookupall [as oncomplete] (node:dns:120:26) {
      errno: -3008,
      code: 'ENOTFOUND',
      syscall: 'getaddrinfo',
      hostname: 'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net'
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:196:22)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 37,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.71:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.71:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.71:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.71',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: 30
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000bf'),
    maxSetVersion: 38,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.64:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.64:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.64:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.64',
      port: 27017
    }
  }
}
❌ Error in processMaturedInvestments: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Error in investment maturity cron job: MongoServerSelectionError: connect ECONNREFUSED 65.62.2.78:27017
    at Topology.selectServer (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/sdam/topology.js:327:38)
    at async tryOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:148:18)
    at async executeOperation (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/operations/execute_operation.js:78:16)
    at async FindCursor._initialize (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/find_cursor.js:62:26)
    at async FindCursor.cursorInit (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:632:27)
    at async FindCursor.fetchBatch (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:666:13)
    at async FindCursor.next (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:342:17)
    at async [Symbol.asyncIterator] (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:250:34)
    at async FindCursor.toArray (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cursor/abstract_cursor.js:422:26)
    at async model.Query._find (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongoose/lib/query.js:2430:14) {
  errorLabelSet: Set(0) {},
  reason: TopologyDescription {
    type: 'ReplicaSetNoPrimary',
    servers: Map(3) {
      'ac-xay1hm2-shard-00-02.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-01.smxszxe.mongodb.net:27017' => [ServerDescription],
      'ac-xay1hm2-shard-00-00.smxszxe.mongodb.net:27017' => [ServerDescription]
    },
    stale: false,
    compatible: true,
    heartbeatFrequencyMS: 10000,
    localThresholdMS: 15,
    setName: 'atlas-11lo90-shard-0',
    maxElectionId: new ObjectId('7fffffff00000000000000c0'),
    maxSetVersion: 40,
    commonWireVersion: 0,
    logicalSessionTimeoutMinutes: null
  },
  code: undefined,
  [cause]: MongoNetworkError: connect ECONNREFUSED 65.62.2.78:27017
      at TLSSocket.<anonymous> (/home/glostore/nodevenv/api.glostorelogs.com/20/lib/node_modules/mongodb/lib/cmap/connect.js:286:44)
      at Object.onceWrapper (node:events:639:26)
      at TLSSocket.emit (node:events:524:28)
      at emitErrorNT (node:internal/streams/destroy:169:8)
      at emitErrorCloseNT (node:internal/streams/destroy:128:3)
      at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
    errorLabelSet: Set(1) { 'ResetPool' },
    beforeHandshake: false,
    [cause]: Error: connect ECONNREFUSED 65.62.2.78:27017
        at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1611:16) {
      errno: -111,
      code: 'ECONNREFUSED',
      syscall: 'connect',
      address: '65.62.2.78',
      port: 27017
    }
  }
}
❌ Socket authentication error: jwt expired
